package com.xrh.xdemo.api.request.addRequest;

import javax.validation.constraints.NotBlank;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class SysRoleAddRequest{

	/**角色名称 */
	@ApiModelProperty("角色名称")
	@NotBlank(message = "角色名称不能为空")
	private String roleName;
	
	/**角色编号 */
	@ApiModelProperty("角色编号")
	@NotBlank(message = "角色编号不能为空")
	private String roleNo;
	
	/**备注 */
	@ApiModelProperty("备注")
	private String remark;
	
}
